import {createRouter, createWebHistory} from "vue-router";
import Page1st from "../views/Page1st.vue";
import Page2nd from "../views/Page2nd.vue"

const router = createRouter({
    history: createWebHistory(),
    routes:[
        {
            path:'/',
            redirect:'/pageOne'
        },
        {
            path:'/pageOne',
            name:'PageOne',
            component:Page1st
        },
        {
            path:'/pageTwo',
            component:Page2nd
        }
    ]
})
export default router